package com.itheima05;

public class Ma implements Animal{
    //共有方法，来自于父亲
    @Override
    public void eat() {
        System.out.println("马吃草");
    }
    //特有方法,来自于自己
    public void pao(){
        System.out.println("马儿跑");
    }
}
